<%--
  Created by IntelliJ IDEA.
  User: Efim Matytsin
  Date: 22.02.15
  Time: 9:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../../resources/templates/common/header.jsp" %>

<div class="container">
    <div class="section">
        <div class="row">
            <div class="col s4">
                <div class="profile">
                    <h5>${user.firstName} ${user.lastName}</h5>
                    <p>${user.username}</p>
                    <div class="photo_wrapper">
                        <img width="120" class="materialboxed photo" src="../${user.photo.url}"/>
                    </div>
                </div>
            </div>
            <form class="col s8 postTweet jsPostForm">
                <div class="row">
                    <div class="input-field col s12">
                        <i class="mdi-editor-mode-edit prefix"></i>
                        <textarea id="icon_prefix2" name="message" class="materialize-textarea"></textarea>
                        <label for="icon_prefix2">Сообщение</label>
                    </div>
                    <div class="col s4 offset-s8">
                        <button class="btn waves-effect waves-light" type="submit" name="action">Отправить
                            <i class="mdi-content-send right"></i>
                        </button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div class="container">
    <div class="section jsPostContainer">
    </div>
</div>
<!-- Templates -->
<%@ include file="../../resources/blocks/photo.html" %>
<%@ include file="../../resources/blocks/tweet.html" %>

<%@ include file="../../resources/templates/common/footer.jsp" %>
